package com.wyy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @program: gytcb
 * @author: 吴磊
 * @create: 2021-06-01 23:03
 */
@MapperScan("com.wyy.mapper")
@SpringBootApplication
@EnableEurekaClient
@EnableHystrix
@EnableScheduling //开启定时任务
@EnableAsync//开启异步方法
public class UserAppConfig {
    public static void main(String[] args) {
        SpringApplication.run(UserAppConfig.class, args);
    }
}
